package com.woniu.controller;

import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Title
 * @Author 武术有栖
 * @Description:
 */
@Controller
@RequestMapping()
@Slf4j
@Api(tags = "测试接口")
public class TestController {
    @GetMapping("/test")
    public String test(Model model){
        return "test";
    }
    @GetMapping("/comment")
    public String comment(Model model){
        return "comment2";
    }
}
